package com.dimension.pojo;

import io.swagger.annotations.ApiModelProperty;
import java.math.BigDecimal;
import java.util.Date;

public class Order {
    @ApiModelProperty(value = "订单id")
    private Integer orderid;

    @ApiModelProperty(value = "订单编号")
    private Integer ordernumber;

    @ApiModelProperty(value = "商品id")
    private Integer goodsid;

    @ApiModelProperty(value = "用户id")
    private Integer userid;

    @ApiModelProperty(value = "购买数量")
    private Integer ordernum;

    @ApiModelProperty(value = "总价格")
    private BigDecimal orderprice;

    @ApiModelProperty(value = "是否支付，0表示未支付，1为支付")
    private Integer ifpay;

    @ApiModelProperty(value = "支付时间")
    private Date paytime;

    @ApiModelProperty(value = "是否已经收货，0表示未支付，1为支付")
    private Integer isship;

    @ApiModelProperty(value = "发货时间")
    private Date shiptime;

    @ApiModelProperty(value = "是否已经发货，0未发货，1已发货")
    private Integer isreceipt;

    @ApiModelProperty(value = "收货时间")
    private Date receipttime;

    @ApiModelProperty(value = "快递单号")
    private Integer shipNumber;

    @ApiModelProperty(value = "订单创建时间")
    private Date creattime;

    public Order(Integer orderid, Integer ordernumber, Integer goodsid, Integer userid, Integer ordernum, BigDecimal orderprice, Integer ifpay, Date paytime, Integer isship, Date shiptime, Integer isreceipt, Date receipttime, Integer shipNumber, Date creattime) {
        this.orderid = orderid;
        this.ordernumber = ordernumber;
        this.goodsid = goodsid;
        this.userid = userid;
        this.ordernum = ordernum;
        this.orderprice = orderprice;
        this.ifpay = ifpay;
        this.paytime = paytime;
        this.isship = isship;
        this.shiptime = shiptime;
        this.isreceipt = isreceipt;
        this.receipttime = receipttime;
        this.shipNumber = shipNumber;
        this.creattime = creattime;
    }

    public Order() {
        super();
    }

    public Integer getOrderid() {
        return orderid;
    }

    public void setOrderid(Integer orderid) {
        this.orderid = orderid;
    }

    public Integer getOrdernumber() {
        return ordernumber;
    }

    public void setOrdernumber(Integer ordernumber) {
        this.ordernumber = ordernumber;
    }

    public Integer getGoodsid() {
        return goodsid;
    }

    public void setGoodsid(Integer goodsid) {
        this.goodsid = goodsid;
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public Integer getOrdernum() {
        return ordernum;
    }

    public void setOrdernum(Integer ordernum) {
        this.ordernum = ordernum;
    }

    public BigDecimal getOrderprice() {
        return orderprice;
    }

    public void setOrderprice(BigDecimal orderprice) {
        this.orderprice = orderprice;
    }

    public Integer getIfpay() {
        return ifpay;
    }

    public void setIfpay(Integer ifpay) {
        this.ifpay = ifpay;
    }

    public Date getPaytime() {
        return paytime;
    }

    public void setPaytime(Date paytime) {
        this.paytime = paytime;
    }

    public Integer getIsship() {
        return isship;
    }

    public void setIsship(Integer isship) {
        this.isship = isship;
    }

    public Date getShiptime() {
        return shiptime;
    }

    public void setShiptime(Date shiptime) {
        this.shiptime = shiptime;
    }

    public Integer getIsreceipt() {
        return isreceipt;
    }

    public void setIsreceipt(Integer isreceipt) {
        this.isreceipt = isreceipt;
    }

    public Date getReceipttime() {
        return receipttime;
    }

    public void setReceipttime(Date receipttime) {
        this.receipttime = receipttime;
    }

    public Integer getShipNumber() {
        return shipNumber;
    }

    public void setShipNumber(Integer shipNumber) {
        this.shipNumber = shipNumber;
    }

    public Date getCreattime() {
        return creattime;
    }

    public void setCreattime(Date creattime) {
        this.creattime = creattime;
    }
}